projects

Get all of a project's dependencies

get/project/{id|slug}/dependencies

Response

Expected response to a valid request

Example response

{
  "projects": [
    {
      "id": "AABBCCDD",
      "team": "MMNNOOPP",
      "body": "A long body describing my project in detail",
      "status": "approved",
      "project_type": "mod",
      "categories": [
        "technology",
        "adventure",
        "fabric"
      ],
      "additional_categories": [
        "technology",
        "adventure",
        "fabric"
      ],
      "environment": [
        "client_and_server"
      ],
      "game_versions": [
        "1.19",
        "1.19.1",
        "1.19.2",
        "1.19.3"
      ],
      "loaders": [
        "neoforge",
        "fabric"
      ],
      "versions": [
        "IIJJKKLL",
        "QQRRSSTT"
      ],
      "license": {
        "id": "LGPL-3.0-or-later",
        "name": "GNU Lesser General Public License v3 or later"
      },
      "gallery": [
        {
          "url": "https://cdn.modrinth.com/data/AABBCCDD/images/009b7d8d6e8bf04968a29421117c59b3efe2351a.png",
          "featured": true,
          "title": "My awesome screenshot!",
          "description": "This awesome screenshot shows all of the blocks in my mod!"
        }
      ],
      "thread_id": "TTUUVVWW",
      "slug": "my_project",
      "organization": "AABBCCDD",
      "icon_url": "https://cdn.modrinth.com/data/AABBCCDD/b46513nd83hb4792a9a0e1fn28fgi6090c1842639.png",
      "raw_icon_url": "https://cdn.modrinth.com/data/AABBCCDD/b46513nd83hb4792a9a0e1fn28fgi6090c1842639-raw.png",
      "color": 8703084,
      "issues_url": "https://github.com/modrinth/code/issues",
      "source_url": "https://github.com/modrinth/code",
      "wiki_url": "https://github.com/modrinth/code/wiki",
      "discord_url": "https://discord.gg/modrinth",
      "donation_urls": [
        {
          "id": "patreon",
          "platform": "Patreon",
          "url": "https://www.patreon.com/my_user"
        }
      ],
      "client_side": "required",
      "server_side": "optional"
    }
  ],
  "versions": [
    {
      "name": "Version 1.0.0",
      "version_number": "1.0.0",
      "changelog": "List of changes in this version: ...",
      "dependencies": [
        {
          "version_id": "IIJJKKLL",
          "project_id": "QQRRSSTT",
          "file_name": "sodium-fabric-mc1.19-0.4.2+build.16.jar",
          "dependency_type": "required"
        }
      ],
      "game_versions": [
        "1.16.5",
        "1.17.1"
      ],
      "version_type": "release",
      "loaders": [
        "fabric",
        "forge",
        "minecraft"
      ],
      "featured": true,
      "status": "listed",
      "id": "IIJJKKLL",
      "project_id": "AABBCCDD",
      "author_id": "EEFFGGHH",
      "environment": "client_and_server",
      "files": [
        {
          "hashes": {
            "sha512": "93ecf5fe02914fb53d94aa3d28c1fb562e23985f8e4d48b9038422798618761fe208a31ca9b723667a4e05de0d91a3f86bcd8d018f6a686c39550e21b198d96f",
            "sha1": "c84dd4b3580c02b79958a0590afd5783d80ef504"
          },
          "url": "https://cdn.modrinth.com/data/AABBCCDD/versions/1.0.0/my_file.jar",
          "filename": "my_file.jar",
          "size": 1097270,
          "file_type": "required-resource-pack"
        }
      ]
    }
  ]
}

Changes

Changed in 3 of the 21 revisions of this API.4244

  • 16bb5dbc54f4140See the full diff
    • the projects/items/ response's property type/format changed from / to object/ for status 200

      response-property-type-changed

    • added the optional property projects/items/approved to the response with the 200 status

      response-optional-property-added

    • added the optional property projects/items/body_url to the response with the 200 status

      response-optional-property-added

    • added the optional property projects/items/color to the response with the 200 status

      response-optional-property-added

    • added the optional property projects/items/discord_url to the response with the 200 status

      response-optional-property-added

    • added the optional property projects/items/donation_urls to the response with the 200 status

      response-optional-property-added

    • added the optional property projects/items/icon_url to the response with the 200 status

      response-optional-property-added

    • added the optional property projects/items/issues_url to the response with the 200 status

      response-optional-property-added

    • added the optional property projects/items/moderator_message to the response with the 200 status

      response-optional-property-added

    • added the optional property projects/items/organization to the response with the 200 status

      response-optional-property-added

    • added the optional property projects/items/queued to the response with the 200 status

      response-optional-property-added

    • added the optional property projects/items/raw_icon_url to the response with the 200 status

      response-optional-property-added

    • added the optional property projects/items/requested_status to the response with the 200 status

      response-optional-property-added

    • added the optional property projects/items/slug to the response with the 200 status

      response-optional-property-added

    • added the optional property projects/items/source_url to the response with the 200 status

      response-optional-property-added

    • added the optional property projects/items/wiki_url to the response with the 200 status

      response-optional-property-added

    • removed NonSearchProject ServerRenderedProject subschema #3 from the projects/items/ response property allOf list for the response status 200

      response-property-all-of-removed

    • added the required property projects/items/additional_categories to the response with the 200 status

      response-required-property-added

    • added the required property projects/items/body to the response with the 200 status

      response-required-property-added

    • added the required property projects/items/categories to the response with the 200 status

      response-required-property-added

    • added the required property projects/items/client_side to the response with the 200 status

      response-required-property-added

    • added the required property projects/items/description to the response with the 200 status

      response-required-property-added

    • added the required property projects/items/downloads to the response with the 200 status

      response-required-property-added

    • added the required property projects/items/environment to the response with the 200 status

      response-required-property-added

    • added the required property projects/items/followers to the response with the 200 status

      response-required-property-added

    • added the required property projects/items/gallery to the response with the 200 status

      response-required-property-added

    • added the required property projects/items/game_versions to the response with the 200 status

      response-required-property-added

    • added the required property projects/items/id to the response with the 200 status

      response-required-property-added

    • added the required property projects/items/license to the response with the 200 status

      response-required-property-added

    • added the required property projects/items/loaders to the response with the 200 status

      response-required-property-added

    • added the required property projects/items/monetization_status to the response with the 200 status

      response-required-property-added

    • added the required property projects/items/project_type to the response with the 200 status

      response-required-property-added

    • added the required property projects/items/published to the response with the 200 status

      response-required-property-added

    • added the required property projects/items/server_side to the response with the 200 status

      response-required-property-added

    • added the required property projects/items/status to the response with the 200 status

      response-required-property-added

    • added the required property projects/items/team to the response with the 200 status

      response-required-property-added

    • added the required property projects/items/thread_id to the response with the 200 status

      response-required-property-added

    • added the required property projects/items/title to the response with the 200 status

      response-required-property-added

    • added the required property projects/items/updated to the response with the 200 status

      response-required-property-added

    • added the required property projects/items/versions to the response with the 200 status

      response-required-property-added

    • added the required property versions/items/allOf[subschema #2]/environment to the response with the 200 status

      response-required-property-added

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 0bffa67217e113See the full diff
    • the versions/items/allOf[subschema #2]/files/items/file_type response's property type/format changed from string/ to / for status 200

      response-property-type-changed

    • added FileTypeEnum subschema #2 to the versions/items/allOf[subschema #2]/files/items/file_type response property allOf list for the response status 200

      response-property-all-of-added

    • removed the optional-resource-pack enum value from the versions/items/allOf[subschema #2]/files/items/file_type response property for the response status 200

      response-property-enum-value-removed

    • removed the required-resource-pack enum value from the versions/items/allOf[subschema #2]/files/items/file_type response property for the response status 200

      response-property-enum-value-removed

  • 3f6661cf21f2221See the full diff
    • the response property versions/items/allOf[subschema #2]/files/items/file_type became nullable for the status 200

      response-property-became-nullable

    • the versions/items/allOf[subschema #2]/files/items/file_type response's property type/format changed from / to string/ for status 200

      response-property-type-changed

    • added the new optional-resource-pack enum value to the versions/items/allOf[subschema #2]/files/items/file_type response property for the response status 200

      response-property-enum-value-added

    • added the new required-resource-pack enum value to the versions/items/allOf[subschema #2]/files/items/file_type response property for the response status 200

      response-property-enum-value-added

    • removed FileTypeEnum subschema #2 from the versions/items/allOf[subschema #2]/files/items/file_type response property allOf list for the response status 200

      response-property-all-of-removed

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog